﻿using Shop.RemoteModel.LogisticsConfig.Model;
using Shop.StoreGatewayModular.Model.LConfig;
using WeDonekRpc.Client;
using WeDonekRpc.HttpApiGateway.Model;

namespace Shop.StoreGatewayModular.Interface
{
    public interface ILogisticsConfigService
    {
        long Add (LConfigAdd datum);
        LogisticsPrice Calculate (CalculateLogisticsDto obj);
        void Delete (long id);
        LogisticsConfigDatum Get (long id);
        LogisticsConfigDatum[] Gets (LQueryParam param);
        PagingResult<LogisticsConfigDatum> Query (PagingParam<LQueryParam> param);
        bool Set (long id, LogisticsConfigSet datum);
        bool SetIsEnable (long id, bool isEnable);
    }
}